import lkfRequest from '..'

import { Account, LoginInfo } from './types'

enum LoginAPI {
  AccountLogin = '/login'
}

export function accountLoginRequest(account: Account) {
  return lkfRequest.post<LoginInfo>({
    url: LoginAPI.AccountLogin,
    data: account
  })
}
